package com.naiterui.ehp.bs.cms.modules.pharmacy.vo;

import javax.validation.constraints.NotNull;

import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;
import com.naiterui.ehp.bs.cms.common.json.Dict;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

@Data
public class WarehouseGoodsVO implements java.io.Serializable {

    private static final long serialVersionUID = 6241127996781913227L;

    /**
     * 仓库ID
     */
    @NotNull(message = "仓库ID不能为null")
    @ApiModelProperty(value = "仓库ID")
    private Long warehouseId;

    @ApiModelProperty(value = "商品 ID")
    private Long productId;

    @ApiModelProperty(value = "SKU ID")
    private Long skuId;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String name;

    /**
     * 商品编码
     */
    @ApiModelProperty(value = "商品编码")
    private String number;

    /**
     * 药理分类ID
     */
    @ApiModelProperty(value = "药理分类ID")
    private Long pharmacologyClassificationId;

    @ApiModelProperty(value = "药理分类名称")
    private String pharmacologyClassificationName;

    /**
     * 售价(分)
     */
    @Fen2Yuan
    @ApiModelProperty(value = "售价")
    private Integer salePrice;

    /**
     * 状态:是否停用 0:启用。1:停用
     */
    @Dict(type = "system_status")
    @ApiModelProperty(value = "状态:是否停用 0:启用。1:停用,描述使用statusDescribe")
    private Integer status;
}
